<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
         textarea{
            max-width:90%;
            display:block;
            margin: 0 auto;
            
        }
    </style>
       

    </head>
<body>
    <form method="POST" action="/json">

        在此输入json/model文本
        <br>
        <textarea name="jsonstr" id="" cols="100" rows="10" value="aa" placeholder='{"aa":"bb","vc":"dd"}'>{{.jsonstr}}</textarea>
        <br>
        tags(逗号分隔)
        <input type="text" name="tags" value="{{.tags}}" placeholder="json,orm" >
        <br>

<input type="submit" >
<br>

    </form>

    <form method="POST" action="/json">

        结果
    <br>
        <textarea name="modelresult" id="" cols="100" rows="10" placeholder='type JsonModel struct {
            Aa	string	    ` json:"aa"`
            Vc	string	    ` json:"vc"`
        }
        '>{{.modelresult}}</textarea>
        <!-- <input type="submit" > -->

    </form>


</body>
</html>